package com.jxtc.enterprise.hr.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Schema(description = "HR 端根据公司 ID 查询订单分页列表所需要传递的数据")
@Getter
@Setter
@ToString
public class PageOrderByTimeDTO {
    @Schema(description = "公司 ID", example = "c752804d0cd410267f404dd3f0457a57")
    private String companyId;

    @Schema(description = "查询订单数据的开始时间，如果为空则从 2024-01-01 开始", example = "2024-01-01")
    private String startTime;

    @Schema(description = "查询订单数据的结束时间，如果为空则截至到当天日期", example = "2024-06-01")
    private String endTime;

    @Schema(description = "当前页码，从 1（默认值）开始", example = "1", defaultValue = "1")
    private Integer page = 1;

    @Schema(description = "每页显示的记录数，默认为 10", example = "10", defaultValue = "10")
    private Integer size = 10;
}
